package com.ruoyi.db.oms.domain.query;

import com.ruoyi.framework.web.domain.BaseQueryVo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 * 购物车商品查询对象 oms_cart
 *
 * @author ruoyi
 * @date 2020-05-04
 */
@ApiModel("购物车商品查询信息封装类")
@Data
@EqualsAndHashCode(callSuper=true)
public class OmsCartQueryVo extends BaseQueryVo
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("商品id")
    private Long goodsId;

    @ApiModelProperty("商品货品表的货品ID")
    private Long productId;

    @ApiModelProperty("购物车中商品是否选择状态")
    private Boolean checked;

    @ApiModelProperty("商品编号")
    private String goodsSn;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("创建时间")
    private Date addTime;
}
